#pragma once
#include "./base.hpp"

void PrintStd(const char *str);
std::string GetStdInput();


class Empty:public HouseBase{
public:
	Empty(int pos):HouseBase(){
		this->pos=pos;
		this->ownId=0;
		this->input=0;
		if (pos<EmptyRange::AreaOne) {
			price=200;
			return;
		}
		if (pos<EmptyRange::AreaTwo) {
			price=500;
			return;
		}
		price=300;
	};
	void Clear() override{
		this->ownId=0;
		this->input=0;

		this->outCh='0';
		this->color=White;

		if (pos<EmptyRange::AreaOne) {
			price=200;
			return;
		}
		if (pos<EmptyRange::AreaTwo) {
			price=500;
			return;
		}
		price=300;
	}
	bool PassFunction(User& user,std::vector<Land>& map,std::unordered_map<int,User*>& users) override;
	char MapChar() override;
	Color MapColor() override;
};
